﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models.API.Param
{

    public class BuyBillClass
    {
        public string BillDate { get; set; }
        public string BillCode { get; set; }
        public string BtypeCode { get; set; }
        public string StockCode { get; set; }
        public string EtypeCode { get; set; }
        public string DtypeCode { get; set; }
        public string Comment { get; set; }
        public string Explain { get; set; }
        public List<BuyBillGoodsModel> Details { get; set; }
        public List<MultAtypeModel> MultAtype { get; set; }

    }
    public class BuyBillGoodsModel
    {
        public string PtypeCode { get; set; }
        public string UnitCode { get; set; }
        public string CargoCode { get; set; }
        public decimal Qty { get; set; }
        public decimal Price { get; set; }
        public decimal Tax { get; set; }
        public List<string> Serial { get; set; }
    }
    public class MultAtypeModel
    {
        public string AtypeCode { get; set; }
        public decimal Total { get; set; }
        public string Comment { get; set; }

    }
}
